<?php
namespace Shopmodule\Model;
use Think\Model\ViewModel;
class ShopUsersViewModel extends ViewModel {
   public $viewFields = array(
		'suser'=>array('_table'=>'sm_shop_users','userid','id','sid','addtime','lastlogin','lastseeds','lotts','wins','seeds','nextseeds','rate_neutral','rate_good','rate_bad','his_trades','trads','his_pay','sumpay','_type'=>'LEFT'),
		'score'=>array('_table'=>"sm_events_users",'eventid','score','_on'=>'score.uzuid=suser.id','_type'=>'LEFT'),
		'user'=>array('_table'=>'sm_user','usernick','id'=>'uzuid','_on'=>'suser.userid=user.id','_type'=>'LEFT')
   );
 }